FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\CrowdSec\CrowdSecApi A

Total Complexity 65
Dependencies 17
Dependents 1
Total lines 346
Lines of code 273
Logical lines of code 141
Comment lines 18
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
login()
A
42 11 60
getAuthStatus()
A
47 11 37
machineLogin()
A
49 8 31
machineEnroll()
S
49 6 32
authStart()
S
50 6 27
getScenarios()
S
60 5 13
generateCrowdsecPassword()
S
58 4 14
machineRegister()
S
56 3 19
storeCsAuth()
S
58 3 15
getCsAuths()
S
74 2 4
getApiUserAgent()
S
74 2 4
isReady()
S
68 1 8
getAuthorizationToken()
S
79 1 3
getMachineID()
S
79 1 3
getCsAuth()
S
79 1 3